package com.sh.data.engine.application.model.request.dataquality;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author tinglan.ys
 * @description:
 * @date 2022/2/15 下午7:40
 */
@Data
@Schema
public class DataQualityTaskRequest {
    @Schema(description = "表名")
    private String tblName;

    @Schema(description = "任务频率，0-月 1-周 2-天 3-小时 4-分钟")
    private Integer cycle;

    @Schema(description = "任务状态，0-运行中 1-正常 2-异常 3-sql语句出错")
    private Integer jobStatus;

    @Schema(description = "排序类型", allowableValues = {"asc", "desc"})
    private String order;

    @Schema(description = "排序字段", allowableValues = {"ruleNum", "errorNum"})
    private String orderField;

    @Schema(description = "当前页")
    private Integer pageNum = 1;

    @Schema(description = "每页大小")
    private Integer pageSize = 10;
}
